package v1

import (
	"github.com/gogf/gf/v2/frame/g"
	"wh-1-backend/internal/model/entity"
)

type FunctionListByPidReq struct {
	g.Meta `path:"/function/{Pid}" tags:"Function" method:"get" summary:"职能列表"`
	Pid    uint `json:"pid" in:"path" v:"required|integer"`
}

type FunctionListRes struct {
	List []*entity.Function `json:"list"`
}

type FunctionListReq struct {
	g.Meta `path:"/functions" tags:"Function" method:"get" summary:"职能列表"`
}
